package com.ie.service.admin;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ie.common.http.ResponseResult;
import com.ie.entity.OrdersEntity;

import java.util.List;
import java.util.Map;

public interface OrderService extends IService<OrdersEntity> {
    //*******admin***********
    ResponseResult<Map<String, Object>> getAllOrders(OrdersEntity ordersEntity);

    ResponseResult<List<Map<String, Object>>> getOrdersDetail(OrdersEntity ordersEntity);
    //******before*********
    ResponseResult<OrdersEntity> submitOrder(OrdersEntity ordersEntity);

    ResponseResult<Map<String, Object>> getOrdersByUid(OrdersEntity ordersEntity);

    ResponseResult<Map<String, Object>> goPay(OrdersEntity ordersEntity);
}
